package thesis.filesharing.services.fulltextsearch.indexing;

import com.google.appengine.api.search.Results;
import com.google.appengine.api.search.ScoredDocument;

public class DocumentQuery {
	
	public static Results<ScoredDocument> search(String query, String indexName) {
		return DocumentIndexing.getIndex(indexName).search(query);
	}
}
